package com.brspace.qualitycontrol.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.brspace.qualitycontrol.entity.Engineering;
import com.brspace.qualitycontrol.entity.vo.EngineeringVo;
import com.brspace.qualitycontrol.utils.R;

import java.util.List;

/**
 * <p>
 * 工程表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-04-05
 */
public interface EngineeringService extends IService<Engineering> {

    /**
     * 工程添加
     * @param engineering
     * @return
     */
    R addEng(Engineering engineering);

    /**
     * 工程分页信息
     * @param pageParam
     * @param engineeringVo
     * @return
     */
    IPage<Engineering> selectPage(Page<Engineering> pageParam, EngineeringVo engineeringVo);



    EngineeringVo getTotle();

    List<Integer> getChart();

}
